<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE HTML>
<html>
  <head>
    <%@include file="../common.jsp"%>
    <title>医生管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">  
	<link rel="stylesheet" type="text/css" href="resources/css/common.css">
	<link rel="stylesheet" type="text/css" href="resources/css/bootstrap/bootstrap-datetimepicker.min.css">
	<script type="text/javascript" src="resources/js/bootstrap/bootstrap-datetimepicker.js"></script>
	<script type="text/javascript" src="resources/js/bootstrap/bootstrap-datetimepicker.zh-CN.js"></script>
	<script type="text/javascript" src="resources/js/framejs/jquery.form.js"></script>  
	<script type="text/javascript" src="resources/js/doctor.js"></script>  
	<style type="text/css">
		img{height:130px;}
	</style>
  </head>
  <body>
   	<div class="content">
   		<h4>医生用户管理</h4>
   		<hr/>
   		<!-- 查询面板 -->
   		<div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#collapseSearch">
		           	<i class="icon icon-search"></i> 查询过滤
		        </a>
		      </h4>
		    </div>
		    <div id="collapseSearch" class="panel-collapse collapse out">
		      <div class="panel-body">
				  <form id="form_search" class="form-horizontal">
			        <div class="form-group">
			          	<label class="col-md-1 control-label">医生姓名</label>
			          	<div class="col-md-3">
			             	<input type="text" name="name" id="search_name" class="form-control" placeholder="模糊查询...">
			          	</div>
			          	<label class="col-md-1 control-label">手机号</label>
			          	<div class="col-md-3">
			             	<input type="text" name="phone" id="search_phone" class="form-control" placeholder="精确查询...">
			          	</div>
			          	<label class="col-sm-2 control-label required">账号状态</label>
			    		<div class="col-sm-2">
			      			<select name="search_is_down" id ="search_is_down" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择账号状态">
							  <option value="" selected="selected">请选择...</option>
							  <option value="0">未下架</option>
							  <option value="1">已下架</option>
							</select>
			    		</div>	
			        </div>
			        <div class="form-group">
			          <div class="col-md-offset-1 col-md-11">
			             <button id="btn_search" class="btn btn-default"><i class="icon icon-search"></i> 查询</button>
			             <button id="btn_reset" class="btn btn-default"><i class="icon icon-undo"></i> 重置</button>
			          </div>
			        </div>
			      </form>
		      </div>
		    </div>
		</div>
	    <!-- 工具栏 -->
   		<div class="tools">
   		    <button id="btn_add" type="button" class="btn btn-success"  data-toggle="modal" data-target="#modal_add"><i class="icon icon-plus"></i> 增加</button>
            <button id="btn_edit" type="button" class="btn btn-warning" disabled="disabled"><i class="icon icon-pencil"></i> 修改</button>
 	    	<button id="btn_scan" type="button" class="btn btn-primary"><i class="icon icon-search"></i> 详情</button>
			<div id="btn_check" class="btn-group">
		        <button type="button" class="btn btn-danger">审核</button>
	            <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
		            <span class="caret"></span>
		            <span class="sr-only">操作</span>
		        </button>
		        <ul class="dropdown-menu">
		            <li><a href="javascript:void(0);">通过</a></li>
		            <li><a href="javascript:void(0);">驳回</a></li>
		        </ul>
			</div>
 	    	<button id="btn_census" type="button"  class="btn btn-primary" disabled="disabled"><i class="icon icon-bar-chart"></i> 统计信息</button>
			
			<div id="btn_down" class="btn-group">
		        <button type="button" class="btn btn-danger" disabled="disabled">医生入驻管理</button>
	            <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled="disabled">
		            <span class="caret"></span>
		            <span class="sr-only">操作</span>
		        </button>
		        <ul class="dropdown-menu">
		            <li><a href="javascript:void(0);">医生上架</a></li>
		            <li><a href="javascript:void(0);">医生下架</a></li>
		        </ul>
			</div>

	    	<div id="btn_status" class="btn-group" style="float: right;">
			  	<button type="button" class="btn btn-default active" id="0">待审核</button>
			  	<button type="button" class="btn btn-default" id="1">已审核通过</button>
			  	<button type="button" class="btn btn-default" id="2">已审核驳回</button>
			</div>
	    </div>
	    <!-- 列表 -->
	    <table id="tab_list" class="table table-hover table-striped mytable">
			<thead>
				<tr>
					<th style="width: 35px;"><input id="pkall" type='checkbox' class='checkbox'></th>
					<th style="width: 50px;">序号</th>
					<th>医生姓名 </th>
					<th>性别 </th>
					<th>职务 </th>
					<th>科室 </th>
					<th>医院</th>
					<th>手机号</th>
					<th>出生年月</th>
					<th>健康币</th>
					<th>最后一次登录时间 </th>
					<th>注册时间 </th>
					<th>账号状态 </th>
				</tr>
			</thead>
			<tbody>
				
			</tbody>
	  	</table>
	  	<!-- 分页信息条 -->
	  	<div id="pagebar" class="pagebar">
		  	<ul class="pager">
		  		
			</ul>
			<p id="page_info" class="page_info">显示第<span>0</span>到第<span>0</span>条记录,共<span>0</span>条</p>
	  	</div>
	 </div>
	 
	 <!-- 修改 -->
	  <div class="modal fade bs-example-modal-lg" id="modal_edit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog modal-lg">
			<div class="modal-content">
	      		<div class="modal-header">
	        		<button type="button" class="close" data-dismiss="modal">
		        		<span aria-hidden="true">&times;</span>
		        		<span class="sr-only">Close</span>
	        		</button>
	        		<h4 class="modal-title" id="myModalLabel">修改医生信息</h4>
	      		</div>
	      		<div class="modal-body">
	         		<form id="form_edit" class="form-horizontal" role="form" action="doctor/modify" method="post">
	         	  		<input type="hidden" id="edit_id" name="id">
				            <div class="form-group">
							    <label class="col-sm-1 control-label required">姓名</label>
							    <div class="col-sm-3">
							      <input type="text" name="realName" placeholder="不超过10个字" class="form-control" data-toggle="tooltip" data-placement="top" title="姓名必填且不能超过10个字符">
							    </div>
							    <label class="col-sm-1 control-label required">性别</label>
							    <div class="col-sm-3">
									  <select name="gender" class="form-control">
									    <option value="1" selected="selected">男</option>
									    <option value="0">女</option>
									  </select>
							    </div>
							    <label class="col-sm-1 control-label required">手机号</label>
							    <div class="col-sm-3">
							      <input type="text" name="phone" class="form-control" placeholder="供登录用" data-toggle="tooltip" data-placement="top" title="请输入11位手机号">
							    </div>
							</div>
					  		<div class="form-group">
					  		   <label class="col-sm-1 control-label required">医院</label>
							    <div class="col-sm-3">
									<!-- <input type="text" name="hospital" class="form-control"> --> 
									 <select name="hospital" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择医院">
									  <option value="0" selected="selected">请选择...</option>
									 </select>
							    </div>
							    <label class="col-sm-1 control-label required">科室</label>
							    <div class="col-sm-3">
							       <!--   <input type="text" name="department" class="form-control">-->
							        <select name="department" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择科室">
									  <option value="0" selected="selected">请选择...</option>
									</select>
							    </div>
							    <label class="col-sm-1 control-label required">职务</label>
							    <div class="col-sm-3">
							     <!-- <input type="text" name="duty" class="form-control"> --> 
							      	<select name="duty" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择医生职务">
									  <option value="0" selected="selected">请选择...</option>
									</select>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-sm-1 control-label required">出生年月</label>
							    <div class="col-sm-3">
									 <!--  <input type="text" name="birthday" class="form-control">-->
									 <input type="text" class="form-control" id="birthday" name="birthday" placeholder="请选择..." data-toggle="tooltip" data-placement="top" title="请选择出生年月"/>
							    </div>
							    <label class="col-sm-1 control-label">工作年份</label>
							    <div class="col-sm-3">
									 <input type="number" name="workStartYear" class="form-control" value="1980" min="1900" max="2015" placeholder="如1980" data-toggle="tooltip" data-placement="top" title="请输入正确的工作年份">
							    </div>
							    <label class="col-sm-1 control-label">咨询费用</label>
							    <div class="col-sm-3">
									 <input type="number" name="askPrice" class="form-control" value="0" min="0" placeholder="健康币数量" data-toggle="tooltip" data-placement="top" title="请输入正确的咨询价格">
							    </div>
						     </div>
						     <div class="form-group">
							    <label class="col-sm-1 control-label required">擅长治疗</label>
							    <div class="col-sm-11">
									<textarea name="goodAt" rows="5" cols="" class="form-control" placeholder="该医生擅长治疗的疾病,不超过80个字符" data-toggle="tooltip" data-placement="top" title="请输入擅长治疗"></textarea>
							    </div>
							 </div>
				  	</form>			  
				  	<form id="form_edit2" class="form-horizontal" action="common/upload" method="post" enctype="multipart/form-data">	
				          <div class="form-group">
					          <label class="col-sm-1 control-label required">医生头像</label>
					          <div class="col-sm-5">
					             <input type="file" name="file" placeholder="请选择图片..."  data-toggle="tooltip" data-placement="top" title="请上传图片文件">
					          </div>
				          </div>
						  <div class="form-group" style="display:none;">
					          <div class="col-sm-2"></div>
					          <div class="col-sm-4">
					              <a href="" target="_blank">
					              	 <img id="logo_scan2" alt="" src="" style="height: 150px;">
					              </a>
					          </div>
				          </div>
		            </form>
		            <form id="form_edit3" class="form-horizontal" action="common/upload" method="post" enctype="multipart/form-data">	
		                 <div class="form-group">
					          <label class="col-sm-1 control-label ">身份证照</label>
					          <div class="col-sm-10">
					             <input type="file" name="file" placeholder="请选择图片..."  >
					          </div>
				          </div>
						  <div class="form-group" style="display:none;">
					          <div class="col-sm-2"></div>
					          <div class="col-sm-10">
					              <a href="" target="_blank">
					              	 <img id="idcard_scan2" alt="" src="" style="height: 150px;">
					              	 <span style="display: none;">无</span>
					              </a>
					          </div>
				          </div>
				    </form>
				    <form id="form_edit4" class="form-horizontal" action="common/upload" method="post" enctype="multipart/form-data">	
				          <div class="form-group">
					          <label class="col-sm-1 control-label ">工作证照</label>
					          <div class="col-sm-10">
					             <input type="file" name="file" placeholder="请选择图片..." >
					          </div>
				          </div>
						  <div class="form-group" style="display:none;">
					          <div class="col-sm-2"></div>
					          <div class="col-sm-10">
					              <a href="" target="_blank">
					              	 <img id="certificate_scan2" alt="" src="" style="height: 150px;">
					              	 <span style="display: none;">无</span>
					              </a>
					          </div>
				          </div>
				     </form>
	    		</div>
	    		<div class="modal-footer">
					<button id="btn_confirm_edit" type="button" class="btn btn-primary">确定</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
	            </div>
	  		</div>
		</div>
	</div>
	 
	 <!-- 预览 -->
	 <div class="modal fade bs-example-modal-lg" id="modal_scan1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog modal-lg">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">医生详细信息</h4>
		      </div>
		      <div class="modal-body">
		         <form id="form_scan1" class="form-horizontal" role="form">
					  <div class="form-group">
					  	<div class="col-sm-8">
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">姓名</label>
							    <div class="col-sm-5">
							      <input type="text" name="realName" class="form-control" disabled>
							    </div>
							    <label class="col-sm-1 control-label">职务</label>
							    <div class="col-sm-5">
							      <input type="text" name="duty" class="form-control" disabled>
							    </div>
							</div>
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">科室</label>
							    <div class="col-sm-5">
							        <input type="text" name="department" class="form-control" disabled>
							    </div>
							    <label class="col-sm-1 control-label">医院</label>
							    <div class="col-sm-5">
									 <input type="text" name="hospital" class="form-control" disabled>
							    </div>
							</div>
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">性别</label>
							    <div class="col-sm-4">
									 <input type="text" name="gender" class="form-control" disabled>
							    </div>
							    <label class="col-sm-2 control-label">出生年月</label>
							    <div class="col-sm-5">
									 <input type="text" name="birthday" class="form-control" disabled>
							    </div>
							</div>
						</div>
					    <div class="col-sm-4">
					      <img src="" alt="图片加载失败">
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">工作年份</label>
					    <div class="col-sm-5">
							 <input type="text" name="workStartYear" class="form-control" disabled>
					    </div>
					    <label class="col-sm-2 control-label">咨询费用</label>
					    <div class="col-sm-4">
							 <input type="text" name="askPrice" class="form-control" disabled>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">身份证照</label>
					    <div class="col-sm-5">
					      <img src="" alt="图片加载失败">
					    </div>
					    <label class="col-sm-2 control-label">工作证明照</label>
					    <div class="col-sm-4">
					      <img src="" alt="图片加载失败">
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">擅长治疗</label>
					    <div class="col-sm-11">
							<textarea name="goodAt" rows="5" cols="" class="form-control" disabled="disabled"></textarea>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">注册时间</label>
					    <div class="col-sm-11">
							 <input type="text" name="registerTime" class="form-control" disabled>
					    </div>
					  </div>
				</form>
		      </div>
		      <div class="modal-footer">
		          <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
		      </div>
		    </div>
	   </div>
	</div>
	 <!-- 预览 -->
	 <div class="modal fade bs-example-modal-lg" id="modal_scan2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog modal-lg">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">医生详细信息</h4>
		      </div>
		      <div class="modal-body">
		         <form id="form_scan2" class="form-horizontal" role="form">
					  <div class="form-group">
					  	<div class="col-sm-8">
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">姓名</label>
							    <div class="col-sm-5">
							      <input type="text" name="realName" class="form-control" disabled>
							    </div>
							    <label class="col-sm-1 control-label">职务</label>
							    <div class="col-sm-5">
							      <input type="text" name="duty" class="form-control" disabled>
							    </div>
							</div>
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">科室</label>
							    <div class="col-sm-5">
							        <input type="text" name="department" class="form-control" disabled>
							    </div>
							    <label class="col-sm-1 control-label">医院</label>
							    <div class="col-sm-5">
									 <input type="text" name="hospital" class="form-control" disabled>
							    </div>
							</div>
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">性别</label>
							    <div class="col-sm-4">
									 <input type="text" name="gender" class="form-control" disabled>
							    </div>
							    <label class="col-sm-2 control-label">出生年月</label>
							    <div class="col-sm-5">
									 <input type="text" name="birthday" class="form-control" disabled>
							    </div>
							</div>
						</div>
					    <div class="col-sm-4">
					      <img src="" alt="图片加载失败">
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">工作年份</label>
					    <div class="col-sm-5">
							 <input type="text" name="workStartYear" class="form-control" disabled>
					    </div>
					    <label class="col-sm-2 control-label">咨询费用</label>
					    <div class="col-sm-4">
							 <input type="text" name="askPrice" class="form-control" disabled>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">身份证照</label>
					    <div class="col-sm-5">
					      <img src="" alt="图片加载失败">
					       <span style="display: none;">无</span>
					    </div>
					    <label class="col-sm-2 control-label">工作证明照</label>
					    <div class="col-sm-4">
					      <img src="" alt="图片加载失败">
					       <span style="display: none;">无</span>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">擅长治疗</label>
					    <div class="col-sm-11">
							<textarea name="goodAt" rows="5" cols="" class="form-control" disabled="disabled"></textarea>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">注册时间</label>
					    <div class="col-sm-5">
							 <input type="text" name="registerTime" class="form-control" disabled>
					    </div>
					    <label class="col-sm-2 control-label">最后登录时间</label>
					    <div class="col-sm-4">
							 <input type="text" name="lastLoginTime" class="form-control" disabled>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">浏览次数</label>
					    <div class="col-sm-3">
							 <input type="text" name="scanTimes" class="form-control" disabled>
					    </div>
					    <label class="col-sm-2 control-label">健康币数量</label>
					    <div class="col-sm-2">
							 <input type="text" name="coin" class="form-control" disabled>
					    </div>
					    <label class="col-sm-2 control-label">共获健康币数量</label>
					    <div class="col-sm-2">
							 <input type="text" name="totalGainCoin" class="form-control" disabled>
					    </div>
					  </div>
				</form>
		      </div>
		      <div class="modal-footer">
		          <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
		      </div>
		    </div>
	   </div>
	</div>
	 <!-- 预览 -->
	 <div class="modal fade bs-example-modal-lg" id="modal_scan3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog modal-lg">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">医生详细信息</h4>
		      </div>
		      <div class="modal-body">
		         <form id="form_scan3" class="form-horizontal" role="form">
					  <div class="form-group">
					  	<div class="col-sm-8">
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">姓名</label>
							    <div class="col-sm-5">
							      <input type="text" name="realName" class="form-control" disabled>
							    </div>
							    <label class="col-sm-1 control-label">职务</label>
							    <div class="col-sm-5">
							      <input type="text" name="duty" class="form-control" disabled>
							    </div>
							</div>
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">科室</label>
							    <div class="col-sm-5">
							        <input type="text" name="department" class="form-control" disabled>
							    </div>
							    <label class="col-sm-1 control-label">医院</label>
							    <div class="col-sm-5">
									 <input type="text" name="hospital" class="form-control" disabled>
							    </div>
							</div>
					  		<div class="form-group">
							    <label class="col-sm-1 control-label">性别</label>
							    <div class="col-sm-4">
									 <input type="text" name="gender" class="form-control" disabled>
							    </div>
							    <label class="col-sm-2 control-label">出生年月</label>
							    <div class="col-sm-5">
									 <input type="text" name="birthday" class="form-control" disabled>
							    </div>
							</div>
						</div>
					    <div class="col-sm-4">
					      <img src="" alt="图片加载失败">
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">工作年份</label>
					    <div class="col-sm-5">
							 <input type="text" name="workStartYear" class="form-control" disabled>
					    </div>
					    <label class="col-sm-2 control-label">咨询费用</label>
					    <div class="col-sm-4">
							 <input type="text" name="askPrice" class="form-control" disabled>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">身份证照</label>
					    <div class="col-sm-5">
					      <img src="" alt="图片加载失败">
					    </div>
					    <label class="col-sm-2 control-label">工作证明照</label>
					    <div class="col-sm-4">
					      <img src="" alt="图片加载失败">
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">擅长治疗</label>
					    <div class="col-sm-11">
							<textarea name="goodAt" rows="5" cols="" class="form-control" disabled="disabled"></textarea>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">注册时间</label>
					    <div class="col-sm-11">
							 <input type="text" name="registerTime" class="form-control" disabled>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-1 control-label">驳回理由</label>
					    <div class="col-sm-11">
							<textarea name="checkDesc" rows="5" cols="" class="form-control" disabled="disabled"></textarea>
					    </div>
					  </div>
				</form>
		      </div>
		      <div class="modal-footer">
		          <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
		      </div>
		    </div>
	   </div>
	</div>
	 <!-- 驳回 -->
	 <div class="modal fade bs-example-modal-lg" id="modal_reason" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog modal-lg">
		   <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">驳回理由</h4>
		      </div>
		      <div class="modal-body">
		         <form id="form_reason" class="form-horizontal" role="form">
		  			<div class="form-group">
						<label class="col-sm-2 control-label required">理由</label>
				    	<div class="col-sm-10">
				      		<textarea name="reason" rows="5" class="form-control"></textarea>
				    	</div>
					</div>
				 </form>
			  </div>
			  <div class="modal-footer">
		          <button id="btn_confirm_reject" type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
		          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		      </div>
			</div>
		</div>
	</div>
	 <!-- 增加 -->
     <div class="modal fade bs-example-modal-lg" id="modal_add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog modal-lg">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">新增信息</h4>
		      </div>
			    <div class="modal-body">
			         <form id="form_add" class="form-horizontal" role="form">
					  		<div class="form-group">
							    <label class="col-sm-1 control-label required">姓名</label>
							    <div class="col-sm-3">
							      <input type="text" name="realName" placeholder="不超过10个字" class="form-control" data-toggle="tooltip" data-placement="top" title="姓名必填且不能超过10个字符">
							    </div>
							    <label class="col-sm-1 control-label required">性别</label>
							    <div class="col-sm-3">
									  <select name="gender" class="form-control">
									    <option value="1" selected="selected">男</option>
									    <option value="0">女</option>
									  </select>
							    </div>
							    <label class="col-sm-1 control-label required">手机号</label>
							    <div class="col-sm-3">
							      <input type="text" name="phone" class="form-control" placeholder="供登录用" data-toggle="tooltip" data-placement="top" title="请输入11位手机号">
							    </div>
							</div>
					  		<div class="form-group">
					  		   <label class="col-sm-1 control-label required">医院</label>
							    <div class="col-sm-3">
									<!-- <input type="text" name="hospital" class="form-control"> --> 
									 <select name="hospital" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择医院">
									  <option value="0" selected="selected">请选择...</option>
									 </select>
							    </div>
							    <label class="col-sm-1 control-label required">科室</label>
							    <div class="col-sm-3">
							       <!--   <input type="text" name="department" class="form-control">-->
							        <select name="department" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择科室">
									  <option value="0" selected="selected">请选择...</option>
									</select>
							    </div>
							    <label class="col-sm-1 control-label required">职务</label>
							    <div class="col-sm-3">
							     <!-- <input type="text" name="duty" class="form-control"> --> 
							      	<select name="duty" class="form-control" data-toggle="tooltip" data-placement="top" title="请选择医生职务">
									  <option value="0" selected="selected">请选择...</option>
									</select>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-sm-1 control-label required">出生年月</label>
							    <div class="col-sm-3">
									 <!--  <input type="text" name="birthday" class="form-control">-->
									 <input type="text" class="form-control" id="addbirthday" name="birthday" placeholder="请选择..." data-toggle="tooltip" data-placement="top" title="请选择出生年月"/>
							    </div>
							    <label class="col-sm-1 control-label">工作年份</label>
							    <div class="col-sm-3">
									 <input type="number" name="workStartYear" class="form-control" value="1980" min="1900" max="2015" placeholder="如1980" data-toggle="tooltip" data-placement="top" title="请输入正确的工作年份">
							    </div>
							    <label class="col-sm-1 control-label">咨询费用</label>
							    <div class="col-sm-3">
									 <input type="number" name="askPrice" class="form-control" value="0" min="0" placeholder="健康币数量" data-toggle="tooltip" data-placement="top" title="请输入正确的咨询价格">
							    </div>
						     </div>
						     <div class="form-group">
							    <label class="col-sm-1 control-label required">擅长治疗</label>
							    <div class="col-sm-11">
									<textarea name="goodAt" rows="5" cols="" class="form-control" placeholder="该医生擅长治疗的疾病,不超过80个字符" data-toggle="tooltip" data-placement="top" title="请输入擅长治疗"></textarea>
							    </div>
							 </div>
					</form>
					<form id="form_add2" class="form-horizontal" action="common/upload" method="post" enctype="multipart/form-data">	
			          <div class="form-group">
				          <label class="col-sm-1 control-label required">医生头像</label>
				          <div class="col-sm-5">
				             <input type="file" name="file" placeholder="请选择图片..."  data-toggle="tooltip" data-placement="top" title="请上传图片文件">
				          </div>
			          </div>
					  <div class="form-group" style="display:none;">
				          <div class="col-sm-2"></div>
				          <div class="col-sm-4">
				              <a href="" target="_blank">
				              	 <img id="logo_scan" alt="" src="" style="height: 150px;">
				              </a>
				          </div>
			          </div>
		         </form>
		         <form id="form_add3" class="form-horizontal" action="common/upload" method="post" enctype="multipart/form-data">	
		                 <div class="form-group">
					          <label class="col-sm-1 control-label">身份证照</label>
					          <div class="col-sm-10">
					             <input type="file" name="file" placeholder="请选择图片..." >
					          </div>
				          </div>
						  <div class="form-group" style="display:none;">
					          <div class="col-sm-2"></div>
					          <div class="col-sm-10">
					              <a href="" target="_blank">
					              	 <img id="idcard_scan" alt="" src="" style="height: 150px;">
					              </a>
					          </div>
				          </div>
				    </form>
				    <form id="form_add4" class="form-horizontal" action="common/upload" method="post" enctype="multipart/form-data">	
				          <div class="form-group">
					          <label class="col-sm-1 control-label">工作证照</label>
					          <div class="col-sm-10">
					             <input type="file" name="file" placeholder="请选择图片..."  >
					          </div>
				          </div>
						  <div class="form-group" style="display:none;">
					          <div class="col-sm-2"></div>
					          <div class="col-sm-10">
					              <a href="" target="_blank">
					              	 <img id="certificate_scan" alt="" src="" style="height: 150px;">
					              </a>
					          </div>
				          </div>
				     </form>
			      </div>
			      <div class="modal-footer">
			          <button id="btn_confirm_add" type="button" class="btn btn-primary">确定</button>
			          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
			      </div>
			    </div>
		   </div>
		</div>
     <!-- 统计信息 -->
	 <div class="modal fade bs-example-modal-lg" id="modal_census" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			<div class="modal-dialog modal-lg">
			   <div class="modal-content">
			      <div class="modal-header">
			        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
			        <h4 class="modal-title" id="myModalLabel">统计信息</h4>
			      </div>
			      <div class="modal-body">
			         <form id="form_census" class="form-horizontal" role="form">
			  			<div class="form-group">
							<label class="col-sm-2 control-label">人气</label>
					    	<div class="col-sm-2">
					      		<input name="scanTimes" class="form-control" disabled="disabled"/>
					    	</div>
							<label class="col-sm-2 control-label">粉丝数</label>
					    	<div class="col-sm-2">
					      		<input name="fans" class="form-control" disabled="disabled"/>
					    	</div>
							<label class="col-sm-2 control-label">被咨询次数</label>
					    	<div class="col-sm-2">
					      		<input name="consultedTimes" class="form-control" disabled="disabled"/>
					    	</div>
					    </div>
			  			<div class="form-group">
							<label class="col-sm-2 control-label">被评价次数</label>
					    	<div class="col-sm-2">
					      		<input name="scoredTimes" class="form-control" disabled="disabled"/>
					    	</div>
							<label class="col-sm-2 control-label">平均评分</label>
					    	<div class="col-sm-2">
					      		<input name="averageScore" class="form-control" disabled="disabled"/>
					    	</div>
							<label class="col-sm-2 control-label">被评价百分比</label>
					    	<div class="col-sm-2">
					      		<input name="scoreRate" class="form-control" disabled="disabled"/>
					    	</div>
						</div>
			  			<div class="form-group">
							<label class="col-sm-2 control-label">共获健康币</label>
					    	<div class="col-sm-2">
					      		<input name="totalGainCoin" class="form-control" disabled="disabled"/>
					    	</div>
							<label class="col-sm-2 control-label">总提现次数</label>
					    	<div class="col-sm-2">
					      		<input name="cashoutTimes" class="form-control" disabled="disabled"/>
					    	</div>
							<label class="col-sm-2 control-label">总提现金额</label>
					    	<div class="col-sm-2">
					      		<input name="cashoutTotalAmount" class="form-control" disabled="disabled"/>
					    	</div>
						</div>
					 </form>
				  </div>
				  <div class="modal-footer">
			          <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
			      </div>
				</div>
			</div>
		</div>
	</body>
</html>